The default style we get from .popup-menu-icon actually works better,
as it ensures consistency with all the other submenu icons used in
the aggregate menu.
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/591
// a little unstructured mess:
- .system-switch-user-submenu-icon {
- icon-size: 16px;
- padding: 0 4px;
- }
-
#appMenu {
spinner-image: url("resource:///org/gnome/shell/theme/process-working.svg");
spacing: 4px;
let item;
this._switchUserSubMenu = new PopupMenu.PopupSubMenuMenuItem('', true);
- this._switchUserSubMenu.icon.set({
- icon_name: 'avatar-default-symbolic',
- style_class: 'system-switch-user-submenu-icon'
- });
+ this._switchUserSubMenu.icon.icon_name = 'avatar-default-symbolic';
// Since the label of the switch user submenu depends on the width of
// the popup menu, and we can't easily connect on allocation-changed